package com.secsys.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * TbSysFriends entity. @author MyEclipse Persistence Tools
 */

public class TbSysFriends implements java.io.Serializable {

	// Fields

	private Integer id;
	private TbSysUser tbSysUserByFriendsId;
	private TbSysUser tbSysUserByUserNo;
	private String friendsType;
	private String addType;
	private Date addTime;
	private String friendName;

	// Constructors

	public String getFriendName() {
		return friendName;
	}

	public void setFriendName(String friendName) {
		this.friendName = friendName;
	}

	/** default constructor */
	public TbSysFriends() {
	}

	/** minimal constructor */
	public TbSysFriends(TbSysUser tbSysUserByFriendsId,
			TbSysUser tbSysUserByUserNo, Timestamp addTime) {
		this.tbSysUserByFriendsId = tbSysUserByFriendsId;
		this.tbSysUserByUserNo = tbSysUserByUserNo;
		this.addTime = addTime;
	}

	/** full constructor */
	public TbSysFriends(TbSysUser tbSysUserByFriendsId,
			TbSysUser tbSysUserByUserNo, String friendsType, String addType,
			Timestamp addTime) {
		this.tbSysUserByFriendsId = tbSysUserByFriendsId;
		this.tbSysUserByUserNo = tbSysUserByUserNo;
		this.friendsType = friendsType;
		this.addType = addType;
		this.addTime = addTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbSysUser getTbSysUserByFriendsId() {
		return this.tbSysUserByFriendsId;
	}

	public void setTbSysUserByFriendsId(TbSysUser tbSysUserByFriendsId) {
		this.tbSysUserByFriendsId = tbSysUserByFriendsId;
	}

	public TbSysUser getTbSysUserByUserNo() {
		return this.tbSysUserByUserNo;
	}

	public void setTbSysUserByUserNo(TbSysUser tbSysUserByUserNo) {
		this.tbSysUserByUserNo = tbSysUserByUserNo;
	}

	public String getFriendsType() {
		return this.friendsType;
	}

	public void setFriendsType(String friendsType) {
		this.friendsType = friendsType;
	}

	public String getAddType() {
		return this.addType;
	}

	public void setAddType(String addType) {
		this.addType = addType;
	}

	public Date getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

}